﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using blackhouse.WebNemo.Web.Validators;
using System.Xml.Serialization;
using System.IO;

namespace blackhouse.WebNemo.Tests {
	[TestClass]
	public class UnitTest1 {
		[TestMethod]
		public void TestMethod1() {
			ImageValidator v = new ImageValidator();
			XmlSerializer xml = new XmlSerializer(typeof(ImageValidator));
			StringBuilder sb = new StringBuilder();
			StringWriter sw = new StringWriter(sb);
			xml.Serialize(sw, v);
			Console.WriteLine("----------------------------------------");
			Console.WriteLine(sb.ToString());
			Console.WriteLine("----------------------------------------");
			Console.WriteLine(v.GetType().AssemblyQualifiedName);
			Console.WriteLine("----------------------------------------");
		}
	}
}
